﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DzInfo.Model.KD
{
    public class XOrderReSult
    {
        /// <summary>
        /// 
        /// </summary>
        public bool IsSuccess { get; set; }
        /// <summary>
        /// 单据编号为“SOCK2508068783_V001”的销售订单新变更单，保存成功！
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DatasItem> Datas { get; set; }
    }
    //如果好用，请收藏地址，帮忙分享。
    public class SaleOrderEntryItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FEntryID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FSeq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FChangeType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRowType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long FMaterialId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FMaterialName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FQtyX { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FQty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FPriceX { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FTaxPricex { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FTaxPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal FAllAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public long FPKIDX { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FRowId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FParentRowId { get; set; }
    }

    public class DatasItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int FID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FBillNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<SaleOrderEntryItem> SaleOrderEntry { get; set; }
    }
}
